package com.igirl.manage.service.content;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * @Author: jiaheng
 * @Description:
 * @Date: Created in 2018/1/2
 * @Modified:
 */
@Service
public class PropertiesService {
    /**
     * 图片保存地址
     */
    @Value("${IMAGE_REPOSITORY_PATH}")
    public  String IMAGE_REPOSITORY_PATH;

    /**
     * 图片加载地址
     */
    @Value("${IMAGE_BASE_URL}")
    public  String IMAGE_BASE_URL;

//    商品类目，redis缓存key
    public static final String TT_MANAGE_ITEMCAT_CACHE = "TT_MANAGE_ITEMCAT";

    public static final ObjectMapper MAPPER = new ObjectMapper();
}
